{% load static %}
<link rel="stylesheet" href="{% static 'adminpage.css' %}">

<head>
  <title>MMS Test</title>
    <link rel="icon" type="image/x-icon" href="/static/11.png">
</head>


<h1 >MMS(Mail-Management-System)</h1>
<br></br>
<br></br>
<br></br>
<h2 style="color: white; margin-bottom:2ch; text-align: center;">通讯录</h2>
<div class="tb" id="block1">
    <table class="rwd-table">
    <tr>
        <th>联系人ID</th>
        <th>备注</th>
    </tr>
    
{% for x in contacts %}
<tr>
    <td>{{ x.contact_id }}</td>
    <td>{{ x.remark }}</td>
    
    <td><a href="http://localhost:8000/members/update_c/{{x.contact_id}}">update contact</a></td>
    <td><a href="delete_contact/{{x.contact_id}}">delete contact</a></td>
</tr>
{% endfor %}

        
        
</table>

</div>


